package com.jsti.sis;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 基础应用微服务（业务中心+数据中心）
 *
 * @author zhoujiang
 * @since 2019-8-28
 */
@EnableSwagger2
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = {"com.jsti.sis.**.mapper*"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(
                Application.class, args);


    }


}